package abstractfactory.general;

/**
 * @Author：LJ
 * @Description：
 * @Date: 2017/11/27
 * @Modified By:
 */
public class Client {
    public static void main(String[] args) {
        AbstractCreator creator1 = new CreatorA1();
        AbstractCreator creator2 = new CreatorB1();
        creator1.createAbstractProductA().doSomething();
        creator1.createAbstractProductB().doSomething();
        creator2.createAbstractProductA().doSomething();
        creator2.createAbstractProductB().doSomething();
    }
}
